//
//  UTEMgrChatGPT.h
//  UTEBluetoothRYApi
//
//  Created by ute1205 on 2024/7/29.
//  Copyright © 2024 vv. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UTEBluetoothEnum.h"


NS_ASSUME_NONNULL_BEGIN

@interface UTEModelChatGPTMemorandumInfo : NSObject
///时间戳
@property (nonatomic,assign) NSInteger              timeStamp;
///识别内容
@property (nonatomic,assign) NSString               *identifyContent;
///回答内容
@property (nonatomic,copy) NSString                 *answerContent;

@end

@interface UTEModelIntelligentAgentType : NSObject
///类型
@property (nonatomic,assign) UTEIntelligentAgentType       type;

@end

@interface UTEMgrChatGPT : NSObject

///APP设置状态
-(void)setAPPChatGPTStatus:(UTEChatGPTStatus)status Block:(void(^)(NSInteger errorCode))block;

///设置ChatGPT识别语音内容
-(void)setChatGPTVoiceContent:(NSString *)text Block:(void(^)(NSInteger errorCode))block;

///设置ChatGPT回答内容
-(void)setChatGPTAnswerContent:(NSString *)text Block:(void(^)(NSInteger errorCode))block;

///同步备忘录内容
-(void)setChatGPTMemorandumContent:(NSArray <UTEModelChatGPTMemorandumInfo *>*)array Block:(void(^)(NSInteger errorCode))block;

///设备上报状态
- (void)onNotifyChatGPTStatus:(void(^)(UTEChatGPTStatus status))block;

///设备上传录音数据，格式为opus
- (void)onNotifyChatGPTVoiceData:(void(^)(NSInteger errorCode,NSData *opus))block;

///设置当前ai语言环境 0:中文 1:英文
-(void)setAICurrentLanguage:(NSInteger)language Block:(void(^)(NSInteger errorCode))block;

///设置当前智能体支持类型
-(void)setIntelligentAgentType:(NSArray <UTEModelIntelligentAgentType *>*)array Block:(void(^)(NSInteger errorCode))block;

///同步智能体内容 复用备忘录模型
-(void)setIntelligentAgentContent:(NSArray <UTEModelChatGPTMemorandumInfo *>*)array Block:(void(^)(NSInteger errorCode))block;

///设备上报智能体类型
- (void)onNotifyIntelligentAgentType:(void(^)(NSInteger errorCode,NSArray <UTEModelIntelligentAgentType *>*array))block;

@end

NS_ASSUME_NONNULL_END
